package com.autonavi.collapse.task.leader;

public interface LeaderSelector {

    void init(String group, Object dataCenter);

    boolean isLeader();

    void addLeaderListener(LeaderListener leaderListener);

    void start() throws Exception;

    void stop();
}
